package cn.microservices.cloud.gateway.base.enums;

/**
 * 权限枚举
 */
public enum AuthEnums {
	AUTH_URL_TYPE("auth:url:type", "auth:url:type"),
	AUTH_URL_TYPE_PERMISSION("permission", "permission"),
	AUTH_URL_TYPE_MENU("menu", "menu"),
	AUTH_PERMISSION_ROLES("auth:permission:roles", "auth:permission:roles"),
	AUTH_MENU_ROLES("auth:menu:roles", "auth:menu:roles"),
	AUTH_ROLES_MENU_PATH("auth:roles:menu:path", "auth:roles:menu:path"),
	AUTH_ROLES_PERMISSION_PATH("auth:roles:permission:path", "auth:roles:permission:path"),
	AUTH_MENU_PATH("auth:menu:path", "auth:menu:path"),
	AUTH_MENU_URL_PATH("auth:menu:url:path", "auth:menu:url:path"),
	AUTH_USER_ROLE("auth:user:role", "auth:user:role"),
	;

	private String code;
	private String text;

	AuthEnums(String code, String text) {
		this.code = code;
		this.text = text;
	}

	public String getCode() {
		return code;
	}

	public String getText() {
		return text;
	}
}
